Part Number Hot Search : 
15KPA26 PT22423 60100 LXT313 HGDEPT02 A2000 2SA1674 104M00
Product Description
Full Text Search
 

To Download NCN6804MNR2G Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 NCN6804 Dual Smart Card Interface IC with SPI Programming Interface
The NCN6804 is a dual interface IC with serial control. It is dedicated for Smart Card/Secure Access Module (SAM) reader/writer applications. It allows the management of two external ISO/EMV cards (Class A, B or C). An SPI bus is used to control and configure the dual interface. The cards are controlled in a multiplexed mode. Two NCN6804 devices (4 smart card interfaces) can share one single control bus thanks to a dedicated hardware address pin (S1). An accurate protection system guarantees timely and controlled shutdown in the case of external error conditions. This device is an enhanced version of the NCN6004A, more compact, more flexible and fully compatible with the NCN6001, its single interface counterpart version. It is fully compatible with ISO 7816-3, EMV and GIE-CB standards.
Features http://onsemi.com MARKING DIAGRAM
1
1
32
QFN32 CASE 488AM A L Y W G = Assembly Location = Wafer Lot = Year = Work Week = Pb-Free Package
NCN 6804 ALYWG
* * * * * * * * * * * * * * * *
Dual Smart Card / SAM Interface with SPI Programming Bus Fully Compatible with ISO 7816-3, EMV and GIE-CB Standards One Protected Bidirectional Buffered I/O Line per Card Port Wide Power Supply Voltage Range: 2.7V < VDDPA/B & VDD < 5.5V Programmable/Independent CRD_VCC Supply for Each Smart Card Multiplexed Mode of Operating Handles 1.8 V, 3.0 V and 5.0 V Smart Cards Programmable Rise & Fall Card Clock Slopes (Slow & Fast Modes) Support up to 40 MHz Clock with Internal Programmable Clock (division ratio 1/1, 1/2, 1/4) Managed Independently for Each Card Built-in Programmable CRD_CLK Stop Function handles Low State ESD Protection on Card pins (8 kV, Human Body Model) Activation / Deactivation built-in Sequencer Internal I/O Pull-up Resistor with Resistor Disconnection Option (EN_RPU) 4-Wire Series Bus Interface - SPI QFN32 (5x5 mm2) Package This is a Pb-Free Device
PIN CONNECTIONS
CLK_SPI EN_RPU VDD CLK_IN MOSI MISO CS
32 31 30 29 28 27 26 25 S1 CRD_DETA CRD_C4A CRD_C8A CRD_I/OA CRD_RSTA CRD_CLKA CRD_VCCA 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 GNDPA VDDPA VDDPB L2A L1A L1B GNDPB L2B GNDD EXPOSED PAD 33 24 INT 23 CRD_DETB 22 CRD_C4B 21 CRD_C8B 20 CRD_I/OB 19 CRD_RSTB 18 CRD_CLKB 17 CRD_VCCB
ORDERING INFORMATION
Device NCN6804MNR2G Package QFN32 (Pb-Free) Shipping 3000 / Tape & Reel
Typical Application
* Point Of Sales (POS) and Transaction Terminals * ATM (Automatic Teller Machine) / Banking Terminal Interfaces * Set Top Box Decoder and Pay TV
For information on tape and reel specifications, including part orientation and tape sizes, please refer to our Tape and Reel Packaging Specifications Brochure, BRD8011/D.
(c) Semiconductor Components Industries, LLC, 2007
1
May, 2007 - Rev. 0
Publication Order Number: NCN6804/D
I/O
NCN6804
22 mH VBAT 10mF VDDPB VDDPA VDD 0.1mF L1A L2A L1B L2B S1 CRD_DETA VDD CRD_VCCA INT CRD_RSTA CRD_CLKA Microcontroller CRD_C4A NCN6804 SPI BUS CS CLK_SPI MISO MOSI CRD_C8A CRD_I/OA GNDPA GNDPB CRD_DETB DATA PORT GND 10mF CLK_IN I/O
VDD
22 mH
GND SMART CARD A DET GND 10mF 1 2 3 4 VCC RST CLK C4 GND VPP I/O C8 5 6 7 8 GND DET
SMART CARD B DET 1 2 3 4 VCC RST CLK C4 DET 5 6 7 8 GND
CRD_VCCB CRD_RSTB CRD_CLKB CRD_C4B CRD_C8B CRD_I/OB GNDD
GND VPP I/O C8
EN_RPU
Figure 1. Typical Interface Application
http://onsemi.com
2
NCN6804
VDD 1 50 k INT 24 INTERRUPT BLOCK INT#A INT#A CARD #A DET#B INT#B DC-DC CONVERTER DET#A S1
12 11 9 8 10 18 k
VDDPA L1A L2A CRD_VCCA GNDPA
VDD
32
VDD VDD
ADDRESS DECODING
CS
ISO7816 SEQUENCER
27 DUAL 8-BIT SHIFT REGISTER
MISO
29
DC-DC CONVERTER
5 6 7 4 3
CRD_I/OA CRD_RSTA CRD_CLKA CRD_C8A CRD_C4A
CARD #A
MOSI
30
CLK DIV
CLK_SPI
28 VDD
DET#A LOGIC CONTROL DET#B
CARD #A
CARD #A DETECTION
2
CRD_DETA
CARD #B DETECTION
23
CRD_DETB
ISO7816 SEQUENCER
CLK_IN
26
DC-DC CONVERTER
CLOCK MUX CARD #B
22 21 18 19 20 18 k
CRD_C4B CRD_C8B CRD_CLKB CRD_RSTB CRD_I/OB
CLK DIV
I/O
25
I/O MUX
18 k DC-DC CONVERTER 15 17 16 14 13 GNDPB CRD_VCCB L2B L1B VDDPB
EN_RPU
31 CARD #B GND
Exposed Pad GNDD 33
Figure 2. NCN6804 Block Diagram
http://onsemi.com
3
CARD #B
NCN6804
PIN FUNCTION AND DESCRIPTION
PIN 1 Name S1 Type I Description Address pin (Chip Identification pin) - allows having in parallel up to 2 NCN6804 devices (4 interfaces) managed by 1 Chip Select pin only (CS) - multiple interface application case. When one dual interface only is used this pin can be connected to GROUND. The signal coming from the external card connector is used to detect the presence of the card. A built-in pull-up low current source biases this pin HIGH, making it active LOW, assuming one side of the external switch is connected to ground. A built-in digital filter protects the system against voltage spikes present on this pin. The polarity of the signal is programmable by the MOSI message; refer to Table 2. On the other hand, the meaning of the feedback message contained in the MISO register bit b4, depends upon the SPI mode of operation as defined here below: SPI Normal Mode: The MISO bit b4 is HIGH when a card is inserted, whatever be the polarity of the card detect switch. SPI Special Mode: The MISO bit b4 copies the logic state of the card detect switch as depicted here below, whatever be the polarity of the switch used to handle the detection: CRD_DET = LOW => MISO/b4 = LOW CRD_DET = HIGH => MISO/b4 = HIGH In both cases, the chip must be programmed to control the right logic state (Table 2). Since the bias current supplied by the chip is very low, typically 5.0 mA, care must be observed to avoid low impedance or cross coupling when this pin is in the Open state. Auxiliary mixed analog/digital line to handle synchronous card connected when used to the card pin C4. An accelerator circuit makes sure the output positive going rise time is fully within the ISO/EMV specifications. Auxiliary mixed analog/digital line to handle synchronous card connected when used to the card pin C8. An accelerator circuit makes sure the output positive going rise time is fully within the ISO/EMV specifications. This pin handles the connection to the serial I/O pin of the card connector. A bi-directional level translator adapts the serial I/O signal between the card and the mC. An internal active pull down device forces this pin to GROUND during either the CRD_VCC start up sequence, or when CRD_VCC = 0V. The output current is internally limited to 15mA. When operating in a synchronous mode I/O is transmitted through the SPI bus (MOSI bit b2) to CRD_I/O. In that case I/O is disconnected and no longer used. This pin is connected to the RESET pin of the card connector. A level translator adapts the RESET signal from the mC (through the SPI bus) to the external card. The output current is internally limited to 15mA. The CRD_RST is validated when CS = LOW, and is hard wired to GROUND by and internal active pull down circuit when the card is deactivated. Clock pin connected to the card pin C3. An internal active pull down device forces this pin to GROUND during the CRD_VCC start up sequence, or when CRD_VCC = 0V. The rise and fall slopes, either FAST or SLOW, of this signal can be programmed by the SPI bus. Refer to Table 2. Power supply to the external card (card pin C1). An external capacitor Cout = 10 mF minimum is required. In the event of a CRD_VCC under-voltage issue, the NCN6804 detects the situation and feedback the information in the STATUS bit (MISO bit b0). The device does not take any further action; particularly the DC/DC converter is neither stopped nor re-programmed by the NCN6804. It is up to the external mC to handle the situation. However, when CRD_VCC is overloaded, the NCN6804 shuts off the DC/DC converter, runs a Power Down ISO7816 sequence and reports the fault in the STATUS register (MISO register bit b0). The low side of the external inductor A. DC/DC converter A power ground pin. The high side of the external inductor A. DC/DC converter A power supply input (Cbypass_min = 4.7 mF). DC/DC converter B power supply input (Cbypass_min = 4.7 mF). The high side of the external inductor B. DC/DC converter B power ground pin. The low side of the external inductor B. This pin is activated LOW when a card has been inserted and detected by the CRD_DETA or CRD_DETB pins in either of the external ports. Similarly an interrupt is generated when the CRD_VCCA or B output is overloaded, or when the card has been extracted whatever be the transaction status (running or stand by). The INT signal is reset to HIGH according to Table 7. On the other hand, the pin is forced to logic HIGH when the power supply voltage VDDPA or B drops below 2 V.
2, 23
CRD_DETA, CRD_DETB
I
3, 22
CRD_C4A, CRD_C4B CRD_C8A, CRD_C8B CRD_IOA, CRD_IOB
O
4, 21
O
5, 20
I/O
6, 19
CRD_RSTA, CRD_RSTB
O
7, 18
CRD_CLKA, CRD_CLKB CRD_VCCA, CRD_VCCB
O
8, 17
Power
9 10 11 12 13 14 15 16 24
L1A GNDPA L2A VDDPA VDDPB L2B GNDPB L1B INT
Power Power Power Power Power Power Power Power O
http://onsemi.com
4
NCN6804
PIN FUNCTION AND DESCRIPTION
PIN 25 Name I/O Type I/O Description This pin is connected to an external micro-controller (mC) interface. A bi-directional level translator adapts the serial I/O signal between the smart card and the mC. The level translator is enabled when CS = LOW, the sub address has been selected and the system operates in the Asynchronous mode. When a Synchronous card is in use this pin is disconnected and the data and transaction take place through the MOSI and the MISO registers. The internal pull up resistor connected on the mC side is activated and visible by the selected chip only. This pin (high impedance) can be connected to either the mC master clock or to a crystal oscillator clock to drive the external smart cards. The signal is fed to the internal clock selector circuit and translated to the CRD_CLKA or CRD_CLKB pins at either the same frequency, or divided by 2, 4 or 8, depending upon the programming mode. Refer to table 2. Synchronous case: clock managed through the SPI bus - CLK_IN is disconnected. Note: The chip guarantees the EMV 50% Duty Cycle when the clock divider ratio is 1/2, 1/4, or 1/8, even when the CLK_IN signal is out of the 45% to 55% range specified by ISO and EMV specifications. This pin synchronizes and enables the SPI communication. All the NCN6804 functions, both programming and card transaction, are disabled when CS = HIGH. Clock Signal to synchronize the SPI data transfer. This clock is fully independent from the CLK_IN signal and does not play any role with the data transaction (I/O - CRD_I/O). O Master In Slave Out: SPI Data Output from the NCN6804. This STATUS byte carries the state of the interface, the serial transfer being achieved according to the programmed mode (Table 2), using the same CLK_SPI signal and during the same MOSI time frame. An external 4.7 kW pull down resistor might be necessary to avoid misunderstanding of the pin 29 voltage during the High Z state. Master Out Slave In: SPI Data Input from the mC. This byte contains the address of the selected chip among the two possible (bit b6), together with the programming code for a given interface. See Table 2. This pin is used to activate the I/O internal pull-up resistor such as: EN_RPU = Low => I/O Pull-up resistor disconnected EN_RPU = High => I/O Pull-up resistor connected When two or more NCN6804 chips share the same I/O bus, one chip only shall have the internal pull-up resistor enabled to avoid any overload of the I/O line. Moreover, when Asynchronous and Synchronous cards are handled by the interfaces, the activated I/O pull-up resistor must preferably be the one associated with the asynchronous circuit. On the other hand, since no internal pull-up bias resistor is built in the chip, pin 31 must be connected to the right voltage level to make sure the logic function is satisfied. This pin is connected to the system controller power supply (Cbypass_min = 100 nF). When VDD is below 2.5 V the CRD_VCCA or B is disabled. The NCN6804 goes into a shutdown mode. Digital/analog Ground. This pin is the Exposed Pad and is the Ground for the digital/analog circuit section. It needs to be connected to the PCB Ground.
26
CLK_IN
I
27 28 29
CS CLK_SPI MISO
I
30
MOSI
I
31
EN_RPU
I
32 33
VDD GNDD
Power Power
ATTRIBUTES
Characteristics ESD protection Human Body Model, Smart Card Pins (Card Interface Pins (Card A and B)) (Note 1) Human Body Model, CRD_DETA/B Pins (2, 23) (Note 1) Human Body Model, All Other Pins (Note 1) Moisture sensitivity (Note 2) QFN-32 Flammability Rating Oxygen Index: 28 to 34 Meets or exceeds JEDEC Spec EIA/JESD78 IC Latchup Test 1. Human Body Model (HBM), R = 1500 W, C = 100 pF. 2. For additional information, see Application Note AND8003/D. Values 8 kV 4 kV 2 kV Level 1 UL 94 V-0 @ 0.125 in
http://onsemi.com
5
NCN6804
MAXIMUM RATINGS (Note 3)
Rating DC/DC Converter Power Supply Voltage (VDDPA/B) Power Supply from Microcontroller Side (VDD) External Card Power Supply (Card A and B) Digital Input Pins Digital Output Pins (I/O, MISO, INT) Smart Card Output Pins Smart Card Output Pins Excepted CRD_CLK CRD_CLK Pin Inductor Current QFN-32 5x5 mm2 package Power Dissipation @ TA = +85C Thermal Resistance Junction-to-Air Operating Ambient Temperature Range Operating Junction Temperature Range Maximum Junction Temperature Storage Temperature Range Symbol Vsup (Note 4) VDD CRD_VCC Vin Iin Vout Iout Vout Iout Iout ILmax PD RqjA TA TJ TJmax Tstg Value -0.5 Vsup 6 -0.5 VDD 6 -0.5 CRD_VCC 6 -0.5 Vin (VDD + 0.5) but < 6.0 5 -0.5 Vout (VDD+ 0.5) but < 6.0 10 -0.5 Vout (CRD_VCC + 0.5) but< 6.0 15 (Internally Limited) 70 (Internally Limited) 500 (Internally Limited) 1650 40 -40 to +85 -40 to +125 +125 -65 to + 150 Unit V V V V mA V mA V mA mA mA mW C/W C C C C
Stresses exceeding Maximum Ratings may damage the device. Maximum Ratings are stress ratings only. Functional operation above the Recommended Operating Conditions is not implied. Extended exposure to stresses above the Recommended Operating Conditions may affect device reliability. 3. Maximum electrical ratings are defined as those values beyond which damage to the device may occur at TA = +25C. 4. Vsup = VDDPA/B = VDDPA and VDDPB
http://onsemi.com
6
NCN6804
POWER SUPPLY SECTION (-40C to +85C, unless otherwise noted)
Pin 12, 13 12, 13 Symbol Vsup Isup Power Supply (VDDPA/B) (Note 5) DC Operating current - All Card Pins Unloaded, CLK_IN=Low Vsup = 2.7 V, CRD_VCCA or B = 5 V Vsup = 5.5 V, CRD_VCCA or B = 5 V Standby Supply Current, no card inserted INT=CLK_IN=CLK_SPI=CS= I/O = MOSI = EN_RPU = H Vsup = 5.5 V Operating Voltage (Note 5) Operating Current - CLK_IN = CLK_SPI = MOSI = High, CS = I/O =Low Shutdown Current - CS = High Under voltage lockout Output Card Supply Voltage @ 2.7 V< VCC < 5.5 V CRD_VCCA/B = 1.8 V @ Iload = 35 mA CRD_VCCA/B = 3.0 V @ Iload = 60 mA CRD_VCCA/B = 5.0 V @ Iload = 65 mA Maximum Continuous Output Current @ CRD_VCC = 1.8 V @ CRD_VCC = 3.0 V @ CRD_VCC = 5.0 V Output Over-Current Limit : Vsup = 2.7 V, CRD_VCCA/B = 1.8 V, 3.0 V, 5.0 V Vsup= 5.5 V, CRD_VCCA/B = 1.8 V, 3.0 V, 5.0 V Output Card Supply Voltage Ripple @ Vsup = 3.6V, L = 22 mH, Cout = 10 mF (Ceramic X7R), ICRD_VCC= ISO Maximum Current (Note 6) CRD_VCCA/B = 5.0 V CRD_VCCA/B = 3.0 V CRD_VCCA/B = 1.8 V Output Card Turn On Time Vsup = 2.7 V, CRD_VCCA/B = 5.0 V Lout = 22 mH, Cout = 10 mF Ceramic 100 1.8 1.66 2.76 4.65 35 60 65 mA 200 260 mV 60 45 40 ms 500 ms 250 1.80 3.00 5.00 2.7 Rating Min 2.7 Typ Max 5.5 0.5 0.5 mA 50 5.5 150 60 2.5 1.94 3.24 5.35 mA V mA mA V V Unit V mA
12, 13
Isupst
32 32 32 32 8, 17
VDD IVDD IVDD_SD UVLOVDD CRD_VCC
8, 17
ICRD_VCC
8, 17
ICRD_VCC_OV
8, 17
DVCRD_VCC
8, 17
CRD_VCCTON
8, 17
CRD_VCCTOFF Output Card Turn Off Time VCCA/P = 2.7 V, CRD_VCCA/B = 5.0 V Lout = 22 mH, Cout = 10 mF Ceramic, CRD_VCCOFF < 0.4 V
Device will meet the specifications after thermal equilibrium has been established when mounted in a test socket or printed circuit board with maintained transverse airflow greater than 500 lfpm. Electrical parameters are guaranteed only over the declared operating temperature range. Functional operation of the device exceeding these conditions is not implied. Device specification limit values are applied individually under normal operating conditions and not valid simultaneously. 5. VDD and Vsup have separated pads for noise and EMI immunity improvement - by similarity with the NCN6001 VDD and Vsup have to be equal and connected to the same power supply (VDD = Vsup = VDDPA/B) 6. Ceramic X7R, SMD type capacitors are mandatory to achieve the CRD_VCC ripple specifications. The ceramic capacitor has to be chosen according to its ESR (very low ESR) and DC bias features. The capacitance value can strongly vary with the DC voltage applied (see Figure 22).
NOTE:
http://onsemi.com
7
NCN6804
DIGITAL INPUT/OUTPUT SECTION CLK_IN, I/O, CLK_SPI, MOSI, MISO, CS, INT, EN_RPU (-40 C to +85C)
Pin 26 Symbol FCLK_IN Rating Input Asynchronous Clock Duty Cycle = 50% @ VDD = 3.0 V @ VDD = 5.0 V Input Clock Rise time Input Clock Fall time Input SPI clock Input CLK_SPI Rise/Falltime Input MOSI Rise/Falltime Output MISO Rise/Falltime @ CS = 30 pF Input CS Rise/Falltime I/O Data Transfer Switching Time, both directions (I/O & CRD_IOA/B) @ Cs = 30 pF I/O Rise time (see Note 7) I/O Fall time INT Pull Up Resistor Positive going Input High Level Voltage Threshold (CLK_IN, MOSI, CLK_SPI, CS, EN_RPU) Negative going Input Low Level Voltage (CLK_IN, MOSI, CLK_SPI, CS, EN RPU) Output High Voltage INT, MISO @ IOH = -10 mA (source) Output Low Voltage INT, MISO @ IOL = 200 mA (sink) Delay Between 2 Consecutive CLK_SPI Burst Sequence I/0 Pullup Resistor 33 12 18 24 20 0.70 * VDD 0 45 2 2 15 12 12 12 12 Min Typ Max 30 40 ns MHz ns ns ns ns ms 0.8 0.8 80 VDD 0.3 *VDD kW V V V VDD- 1.0 V 0.40 ns kW Unit MHz
26 28 28 30 29 27 25
Ftr Ftf FCLK_SPI trspi, tfspi trmosi, tfmosi trmiso, tfmiso trstr, tfstr tRIO tFIO
24 25,26,2 7,28,30 25,26,2 7,28,30 24, 29 24, 29 28 25 NOTE:
RINT VIH VIL VOH VOL tdclk_spi Rpu_I/O
Device will meet the specifications after thermal equilibrium has been established when mounted in a test socket or printed circuit board with maintained transverse airflow greater than 500 lfpm. Electrical parameters are guaranteed only over the declared operating temperature range. Functional operation of the device exceeding these conditions are not implied. Device specification limit values are applied individually under normal operating conditions and not valid simultaneously. 7. Since a 18 kW (Typical) pullup resistor is provided by the NCN6804, the external MPU can use an Open Drain connection. On the other hand NMOS smart cards can be used straightforward.
http://onsemi.com
8
NCN6804
SMART CARD INTERFACE SECTION (-40C to +85C temperature range unless otherwise noted)
Note: Digital inputs undershoot v 0.30V to ground, digital inputs overshoot < VDD + 0.30V Pin 6,19 VOH VOL tR tF 3, 4 21, 22 VOH VOL tR tF 7, 18 FCRDCLK VOH VOL FCRDDC Symbol Rating CRD_RSTA/B @ CRD_VCCA/B = 1.8 V, 3.0 V, 5.0 V Output RESET VOH @ Irst = -200 mA Output RESET VOL @ Irst = 200 mA CRD_RSTA/B @ CRD_VCCA/B = 1.8 V, 3.0 V, 5.0 V Output RESET Risetime @ Cout = 30 pF Output RESET Falltime @Cout = 30 pF CRD_C4A/B, CRD_C8A/B @ CRD_VCCA/B = 1.8 V, 3.0 V, 5.0 V Output VOH @ Irst = -200 mA Output VOL @ Irst = 200 mA Output Rise time @ Cout = 30 pF Output Fall time @Cout = 30 pF CRD_CLKA/B as a function of CRD_VCCA/B CRD_VCCA/B = 1.8 V, 3.0 V or 5.0V Output Frequency Output VOH @ Icrd_clk = -200mA Output VOL @ Icrd_clk = 200mA CRD_CLKA/B Output Duty Cycle CRD_VCCA/B = 1.8 V, 3.0 V or 5.0 V Rise & Fall time @ CRD_VCCA/B = 1.8 V, 3.0 V or 5.0 V Clock programmed as FST_SLP Output CRD_CLKA/B Risetime @ Cout = 30 pF Output CRD_CLKA/B Falltime @ Cout = 30 pF Rise & Fall time @ CRD_VCCA/B = 1.80V to 5.0V Clock programmed as SLO_SLP Output CRD_CLKA/B Risetime @ Cout = 30 pF Output CRD_CLKA/B Falltime @ Cout = 30 pF CRD_IOA/B Input Voltage High Level @ CRD_VCCA/B = 1.8 V, 3 V and 5 V CRD_IOA/B Input Voltage Low Level @ CRD_VCCA/B = 1.8 V, 3 V and 5 V Output VOH @ Icrd_I/O = -20mA, VIH = VDD @ CRD_VCCA/B = 1.8 V, 3 V and 5 V Output VOL @ Icrd_I/O = 500 mA, VIL = 0 V @ CRD_VCCA/B = 1.8 V, 3 V and 5 V CRD_IOA/B Rise Time, @ Cout = 30 pF CRD_IOA/B Fall Time, @ Cout = 30 pF CRD_IOA/B Pull Up Resistor Card Detection digital filter delay: Card Insertion Card Extraction Card Insertion or Extraction Positive going Input High Voltage Card Insertion or Extraction Negative going Input Low Voltage Output peak Max Current under Card Static Operation Mode @ CRD_VCC = 1.8V, 3.0V, 5.0V CRD_I/OA/B, CRD_RSTA/B, CRD_C4A/B, CRD_C8A/B Output peak Max Current under Card Static Operation Mode @ CRD_VCC = 1.8 V, 3.0 V, 5.0 V CRD_CLKA/B 12 25 25 0.70 * VCC 0 18 50 50 CRD_VCC*0.6 -0.30 CRD_VCC - 0.5 20 CRD_VCC 0.4 55 MHz V V % Min CRD_VCC - 0.5 Typ Max CRD_VCC 0.40 100 100 Unit V V ns ns
CRD_VCC -0.5
CRD_VCC 0.4 100 100
V V ns ns
CRD_VCC-0.5
45
tress tfcs
4 4
ns ns
trills tulsa 5,20 VIH VIL VOH VOL tR tF 5, 20 2, 23 TCRDIN TCRDOFF 2, 23 2, 23 3, 4, 5, 6, 19, 20, 21, 22 7, 18 VIHDET VILDET Icrd RCRDPU
16 16 CRD_VCC+0.3
ns ns V V
0.80 V CRD_VCC 0.40 V ms ms kW ms ms V VCC V 0.30 * VCC 15 mA
0 0.8 0.8 24 150 150
Icrd_clk
70
mA
NOTE:
Device will meet the specifications after thermal equilibrium has been established when mounted in a test socket or printed circuit board with maintained transverse airflow greater than 500 lfpm. Electrical parameters are guaranteed only over the declared operating temperature range. Functional operation of the device exceeding these conditions is not implied. Device specification limit values are applied individually under normal operating conditions and not valid simultaneously.
http://onsemi.com
9
NCN6804
PROGRAMMING
Write Register " WRT_REG (Is Low Only)
Similar to the NCN6001, the NCN6804's WRT_REG register handles 3 command bits [b5:b7] and 5 data bits [b0:b4] as depicted in Tables 1 and 2. These bits are concatenated into 1 byte [MSB0,LSB0] in order to accelerate the programming sequence. The register can be updated when CS is low only. The WRT_RGT has been defined to be compatible with the NCN6001 write register.
Table 1. WRT_REG BIT DEFINITIONS
b0 b1 If (b7 + b6 + b5 ) = 000 or (b7 + b6 + b5 ) = 010 then Case 00 CRD_VCCA = 0 V Case 01 CRD_VCCA = 1.8 V Case 10 CRD_VCCA = 3.0 V Case 11 CRD_VCCA = 5.0 V Else if (b7 + b6 + b5 ) = 001 or (b7 + b6 + b5 ) = 011 then Case 00 CRD_VCCB = 0 V Case 01 CRD_VCCB = 1.8 V Case 10 CRD_VCCB = 3.0 V Case 11 CRD_VCCB = 5.0 V Else if (b7 + b6 + b5) =110 or (b7 + b6 + b5) = 111 then b1 drives CRD_C4A or B (respectively) b0 drives CRD_C8A or B (respectively) Else if (b7 + b6 + b5) =101 then Case 00 CRD_DET = NO Case 01 CRD_DET = NC Case 10 SPI_MODE = Special Case 11 SPI_MODE = Normal Else if (b7 + b6 + b5) =100 then NA (Not Applicable) End if
8. When operating in Asynchronous mode, b6 is compared with the external voltage level present pin S1 (Pin 1). 9. The CRD_RST pin reflects the content of the MOSI WRT_REG [b4] during the chip programming sequence. Since the bit shall be Low to address the chip's internal register, care must be observed as this signal will be immediately transferred to the CRD_RST pin.
http://onsemi.com
10
NCN6804
Table 1. WRT_REG BIT DEFINITIONS
b2 b3 If (b7 + b6 + b5 ) = 000 or (b7 + b6 + b5 ) = 010 then Case 00 CRD_CLKA = Low Case 01 CRD_CLKA = CLK_IN Case 10 CRD_CLKA = CLK_IN / 2 Case 11 CRD_CLKA = CLK_IN / 4 Else if (b7 + b6 + b5 ) = 001 or (b7 + b6 + b5 ) = 011 then Case 00 CRD_CLKB = Low Case 01 CRD_CLKB = CLK_IN Case 10 CRD_CLKB = CLK_IN / 2 Case 11 CRD_CLKB = CLK_IN / 4 Else if (b7 + b6 + b5) =110 or (b7 + b6 + b5) = 111 then b3 drives CRD_CLKA or B (respectively) b2 drives CRD_IOA or B (respectively) Else if (b7 + b6 + b5) =101 then Case 00 CRD_CLKA & B = SLO_SLP Case 01 CRD_CLKA & B = FST_SLP Case 10 NA Case 11 NA Else if (b7 + b6 + b5) =100 then NA (Not Applicable) End if b4 b5 b6 b7 If (b7 + b6 + b5) <> 101 and (b7 + b6 + b5) <> 100 then b4 Drives CRD_RSTA or B Pin 000 001 010 011 100 101 110 111 Select NCN6804 device # 1 Asynchronous Card A (Note 8) Select NCN6804 device # 1 Asynchronous Card B (Note 8) Select NCN6804 device # 2 Asynchronous Card A (Note 8) Select NCN6804 device # 2 Asynchronous Card B (Note 8) NA Set Card Detection Switch polarity, Set SPI_MODE normal or special , Set CRD_CLKA & B slopes Fast or Slow Select External Synchronous Card A Select External Synchronous Card B
8. When operating in Asynchronous mode, b6 is compared with the external voltage level present pin S1 (Pin 1). 9. The CRD_RST pin reflects the content of the MOSI WRT_REG [b4] during the chip programming sequence. Since the bit shall be Low to address the chip's internal register, care must be observed as this signal will be immediately transferred to the CRD_RST pin.
http://onsemi.com
11
NCN6804
Table 2. WRT_REG BIT DEFINITIONS AND FUNCTIONS
ADRESS MSB0 b7 0 0 0 0 1 1 1 1 1 1 1 b6 S1 S1 S1 S1 1 0 0 0 0 0 0 b5 A/B A/B A/B A/B A/B 1 1 1 1 1 1 b4 CRD_RST CRD_RST CRD_RST CRD_RST CRD_RST X X X X X X b3 0 0 1 1 CRD_CLK X X X X X X b2 0 1 0 1 CRD_I/O 0 0 0 0 1 1 LSB0 b1 0 0 1 1 CRD_C4 0 0 1 1 0 0 b0 0 1 0 1 CRD_C8 0 1 0 1 0 1 PARAMETERS MOSI bits[ b3 : b2] CRD_CLK Low 1/1 1/2 1/4 MOSI bits [b1 : b0 ] CRD_VCC 0 1.8V 3.0V 5.0V Synchronous NO NC Special Normal SLO_SLP FST_SLP MOSI bits [b3 : b0 ]
10. Card A: b5 = 0, Card B: b5 = 1, Device # 1: b6 = 0 pin S1 connected to GND, Device # 2: b6 = 1 pin S1 connected to VDD 11. Address 101 and bits [b0:b4] not documented in the table are not applicable with no effect on the device programming and configuration. The sign X in the table means that either 1 or 0 can be used.
Read Register READ_REG
The READ_REG register (1 byte) contains the data read from the card interface. The selected chip register is transferred to the MISO Pin during the MOSI sequence (CS = Low). Table 3 gives a definition of the bits. Depending upon the programmed SPI_MODE, the content of READ_REG is transferred on the MISO line
MOSI . b7 0 0 0 0 1 1 z b6 0 0 1 1 1 1 z b5 0 1 0 1 0 1 z b4 CRD_RST CRD_RST CRD_RST CRD_RST CRD_RST CRD_RST Card Detect b3 CRD_CLK CRD_CLK CRD_CLK CRD_CLK CRD_CLK CRD_CLK CRD_I/O b2 CRD_CLK CRD_CLK CRD_CLK CRD_CLK CRD_I/O CRD_I/O CRD_C4
either on the Positive going (SPI_MODE = Special) or upon the Negative going slope (SPI_MODE = Normal) of the CLK_SPI signal. The external microcontroller shall discard the three high bits since they carry no valid data.
Table 3. MOSI AND MISO BITS IDENTIFICATIONS AND FUNCTIONS
b1 CRD_VCC CRD_VCC CRD_VCC CRD_VCC CRD_C4 CRD_C4 CRD_C8 b0 CRD_VCC CRD_VCC CRD_VCC CRD_VCC CRD_C8 CRD_C8 PWR Monitor Operating Mode Async. Card A, Program Chip Async. Card B, Program Chip Async. Card A, Program Chip Async. Card B, Program Chip Sync. Card A, Sets Card Bits Sync. Card B, Sets Card Bits Read Back Data
MISO
When a command is sent to A for example by selecting the address %000 the corresponding MISO byte has the state of the interface A (Card detectA, b4; I/OA, b3; C4A, b2; C8A, b1; CRD_VCCA ok, b0) - that is the state loaded while sending the previous MOSI command A or B. When a command is sent to B for example by selecting the address %001 the corresponding MISO byte has the state of the interface B (Card detectB, b4; I/OB, b3; C4B, b2; C8B, b1; CRD_VCCB ok, b0) - that is the state loaded while sending the previous MOSI command A or B.
Card A or Card B Selection - Multiplexed Mode
The bit b5 in the MOSI sequence enables the selection of the NCN6804's interface A or B (see Table 2) to the exception of the addresses {100} decoded with no effect on the device and {101} used to program device general configuration. Then:
When b5 = LOW the interface A is selected and the transaction or communication takes place through this interface according to Table 2. The programming applies to Card A only. When b5 = HIGH the interface B is selected and the transaction or communication takes place through this interface according to Table 1. The programming applies to Card B only. CRD_VCCA and CRD_CLKA can be maintained applied to card A when the device is switched from A to B. This mode of operating is of course the same when the device is switched from B to A: CRD_VCCB and CRD_CLKB can be maintained applied to card B. The device configuration is programmed using the address {101} similarly to the NCN6001. In that case, the programming is applied simultaneously to Card A and Card B.
http://onsemi.com
12
NCN6804
Asynchronous Mode
In this mode, the S1 pin is used to define the physical address (by comparison with the bit b6 (MOSI)) of the interfaces when a bank of up to 2 NCN6804 (total of 4 interfaces) shares the same digital bus.
Synchronous Mode
In this mode, the CLK_IN clock input and the I/O input/output are not used. The clock and the data are provided and transferred through the SPI bus using MOSI and MISO as shown Table 2. When this operating mode is used and if two NCN6804 devices want to be implemented, it is no longer possible to share the same CS signal. Consequently in this particular case and when the devices operate in a multiple interface mode a dedicated CS signal must be provided to each NCN6804 device. Since bits [b4 - b0] of the MOSI register contain the smart card data, programming the CRD_VCC output voltage shall be done by sending a previous MOSI message according to Table 2 using the address [b7, b6, b5] = [0, S1, A/B]. For example if a synchronous card is used, prior to make a transaction with it, it will be powered-up for example at 5 V by sending the command %00000011 (address S1 = 0 and card A selected). The CRD_RSTA/B pin reflects the content of the MOSI WRT_REG [b4] during the chip programming sequence. Since this bit shall be LOW to address the internal register of the chip, care must be observed as this signal will be immediately transferred tot he CRD_RSTA/B pin.
Startup Default Conditions
function. In particular, using a low impedance probe (< 1 MW) might lead to uncontrolled operation during the debug. Depending upon the programmed condition, the card can be detected either by a Normally Open (default condition) or a Normally Close switch (see Table 2). On the other hand, the meaning of the feedback message contained in the MISO register bit b4 depends upon the SPI mode of operation as defined here below: SPI Normal Mode: the MISO bit b4 is High when a card is inserted, whatever be the polarity of the card detect switch. SPI Special Mode: the MISO bit b4 copies the logic state of the Card detect switch as depicted here below, whatever be the polarity of the switch used to handle the detection: CRD_DETA/B = Low MISO / b4 = LOW CRD_DETA/B = High MISO / b4 = HIGH
CRD_VCC Operation
At startup, when power supply is turned on, the internal POR (Power On Reset) circuit sets the chip in the default conditions as defined below (Table 4).
Table 4. STARTUP DEFAULT CONDITIONS
CRD_DETA/B CRD_VCCA/B CRD_CLKA/B CRD_CLKA/B Protocol I/O Pull-up resistor INT Normally Open OFF tr & tf = SLOW LOW Special Mode Connected High
The dual NCN6804 interface has 2 built-in DC/DC converters. Each of them can be programmed to provide one of the three possible values, 1.8 V, 3.0 V or 5.0 V, assuming the input voltage VDDPA or B is within the 2.7 V to 5.5 V range. Card A and Card B can be independently powered-up or down. Consequently if necessary for example the device can be switched from card A to card B while the card A power voltage is maintained (this is of course true from A to B or from B to A). CRD_VCCA & B are voltage regulated and protected against overload by a current overload detection system. The DC/DC converter operates as a buck/boost converter. The power conversion mode is automatically switched to handle one of these two modes of operation depending upon the voltage difference between the CRD_VCCA or B and VDDPA or B respectively. The CRD_VCCA or B output current range is given Table 5; these values comply with the smart card ISO7816 standard and related.
Table 5. CRD_VCCA OR B OUTPUT VOLTAGE DEFINITION
Cumulated Current Range (Card A and Card B) 0 to 70 + mA 0 to 120 + mA 0 to 130 + mA
CRD_VCCA or B 1.8 V 3.0 V 5.0 V
Current range per Card 0 to 35+ mA 0 to 60+ mA 0 to 65+ mA
Card Detection
The card is detected by the external switch connected to pin 23 for Card B and pin 2 for Card A. The internal circuit provides a positive bias of this pin and the polarity of the insertion/extraction is programmable by the MOSI protocol as depicted Table 2. The bias current is 1mA typical and cares must be observed to avoid leakage to ground from this pin to maintain the logic
Whatever is the CRD_VCCA or B output voltage, a built-in comparator makes sure the voltage is within the ISO7816-3/EMV specifications. If the voltage is no longer within the minimum/maximum values, the DC/DC is switched off, the powerdown sequence takes place and an interrupt is presented at the INT Pin 24.
http://onsemi.com
13
NCN6804
Powerup Sequence
The Powerup Sequence makes sure all the card related signals are Low during the CRD_VCCA/B positive going slope. These lines are validated when CRD_VCCA/B is above the minimum voltage specified by the EMV standard depending upon the programmed CRD_VCC A or B value (see CRD_VCC Power Supply section on page NO TAG).
CS
CRD_VCC CRD_IO CRD_CLK CRD_C4 CRD_C8 CRD_RST ATR
At powerup, the CRD_VCCA/B turn-on time depends upon the current capability of the DC/DC converter associated with the external inductor L and the reservoir capacitor connected across CRD_VCCA or B and GROUND. During this sequence, the average input current is 300 mA typical (see Figure 4), assuming the system is fully loaded during the start up. Even if enabled by the built-in sequencer the activation sequence is under the control and responsibility of the application software. On the other hand, at turn off, the CRD_VCCA/B fall time depends upon the external reservoir capacitor and the peak current absorbed by the internal NMOS transistor built across CRD_VCCA/B and Ground. These behaviors are depicted Figure 5. Since these parameters have finite values, depending upon the external constraints, the designer must take care of these limits if the tON or tOFF provided by the datasheet does not meet his requirements.
Figure 3. Startup CRD_VCC Sequence
Figure 5. CRD_VCC Typical Turn-on and Turn-off Times Figure 4. Measured Typical Startup CRD_VCC Sequence
http://onsemi.com
14
NCN6804
CRD_RST CRD_CLK
CRD_C4 CRD_I/O CRD_VCC
Figure 6. Figure 7: Start Up Sequence with ATR.
Figure 7. Typical Power Down Sequence (Typical Delay Between Each Signal is 500 ns)
Powerdown Sequence
The NCN6804 provides an automatic Power Down sequence, according to the ISO7816-3 specifications. When a power down sequence is enabled the communication session terminates immediately. The sequence is launched under a micro-controller decision, when the card is extracted, or when the CRD_VCCA/B voltage is overloaded as described by the ISO/CEI 7816-3 sequence depicted here after (see Figure 8): CRD_ RST is forced to Low CRD_CLK is forced to Low, unless it is already in this state CRD_C4 & CRD_C8 are forced to Low Then CRD_IO is forced to Low Finally the CRD_VCC supply is powered down
Since the internal digital filter is activated for any card insertion or extraction, the physical power-down sequence will be activated 50 ms (typical) after the card has been extracted. Of course, such a delay does not exist when the micro-controller intentionally launches the power down.
Data I/O Level Shifter
The level shifter accommodates the voltage difference that might exist between the micro-controller and the smart card. A pulsed accelerator circuit provides the fast positive going transient according to the ISO7816-3 specifications. The basic I/O level shifter is depicted Figure 8.
http://onsemi.com
15
NCN6804
VCC VCC
9 6 U1
EN_RPU
PMOS
200 ns Q1
200 ns Q2 R2
CRD_VCC 13 18 k
R1 I/O 1
18 k
CRD_IO 20 Q3 Q4
SYNC
CARD ENABLE POR SEQ 1 LOGIC AND LEVEL SHIFT
Q5
GND CRD_VCC MOSI/b2 From MOSI decoding GND MOSI/b3 Q5 VCC
Figure 8. Basic I/O Internal Circuit
The transaction is valid when the Chip Select pin is Low, the I/O signal being Open Drain or Totem Pole on either sides. Since the device can operate either in a single or a multiple card system provisions have been made to avoid CRD_IOA or B current overload. Depending upon the selected mode of operation (Async. or Sync), the card I/O line is respectively connected to either I/O Pin 25, or to the MOSI register byte bit 2. On the other hand, the logic level present at the card I/O is feedback to the micro-controller via the MISO register bit 3. The logic levels present at Pin 31 (EN_RPU) controls the connection of the internal pullup as depicted Table 6.
Table 6. I/O PULLUP RESISTOR TABLE
EN_RPU Low I/O Pullup Resistor Open, 18 kW Disconnected Internal 18 kW Pullup Active 18 kW typical value Device Operation Applicable in the Multidevice Mode Case Single Device Mode
Figure 9. Typical I/O rise & fall time (CRD_IOA or B/ Cout > 30 pF and open-drain) Interrupt
High NOTE:
When the system is powered up, the INT Pin is set to HIGH upon Power On Reset (POR) signal. The interrupt Pin 24 is forced LOW when a card is inserted or extracted in either of the external ports, or when a fault is developed across the CRD_VCC output voltage A or B. This signal is neither combined with CS signal, nor with the chip address. The INT signal is clear to HIGH upon one of the conditions Table 7.
http://onsemi.com
16
NCN6804
Table 7. INTERRUPT RESET LOGIC TABLE
Interrupt Source (INT set to LOW) Card Insertion Card Extraction Over Load CS L L L Interrupt Clearance (INT reset to HIGH) CRD_VCCA/B / {b1, b0} programming {0,1}, {1,0} or {11} {0,0} {0,0} Chip Address {b7:b5} = 0XX {b7:b5} = 0XX {b7:b5} = 0XX
In order to know the source of the interrupt (card A or card B), the software has to poll the MISO register by sending a MOSI A command (address {b7, b6, b5} = {0, X, 0}) followed by a MOSI B command (address {b7, b6, b5} = {0, X, 1}) (or conversely). The corresponding MISO content provides the previous state of the interface A or B that is the
T0 T1 T2 T3 T4 T5
information related to the cause of the interrupt. For each case the MISO status obtained will be compared with the MISO state prior to the interrupt. When 2 NCN6804 devices share the same digital SPI bus, it is up to the software to poll the devices using again the MISO register to identify the reason of the interrupt.
T6 T7 T8 T9 T10 T11 T12
CS INT CRD_DET MOSI_b0
MOSI_b1 {b1,b0} = {0,1}, {1,0} or {1,1} {b1,b0} = {0,0} CRD_VCC > 0 V OVER LOAD CRD_VCC
CRD_VCC > 0 V
Figure 10. Basic Interrupt Function Table 8. INTERRUPT FUNCTION OPERATION
T0 T1 T2 T3 T4 T5 T6 T7 T8 T9 T10 T11 A card has been inserted into the reader and detected by the CRD_DET signal. The NCN6001 pulls down the interrupt line. The mC sets the CS signal to Low, the chip is now active, assuming the right address has been placed by the MOSI register. The mC acknowledges the interrupt and resets the INT to High by the MOSI [B1 : B0 ] logic state: CRD_VCC is programmed higher than zero volt. The card has been extracted from the reader, CRD_DET goes Low and an interrupt is set (INT = L). On the other hand, the PWR_DOWN sequence is activated by the NCN6001. The interrupt pin is clear by the zero volt programmed to the interface. Same as T0 The mC start the DC/DC converter, the interrupt is cleared (same as T2) An overload has been detected by the chip : the CRD_VCC voltage is zero, the INT goes Low. The card is extracted from the reader, CRD_DET goes Low and an interrupt is set (INT = L). The card is re-inserted before the interrupt is acknowledged by the mC: the INT pin stays Low. The mC acknowledges the interrupt and reset the INT to High by the MOSI [B1 : B0 ] logic state: CRD_VCC is programmed higher than zero volt. The Chip Select signal goes High, all the related NCN6001 interface(s) are deactivated and no further programming or transaction can take place.
http://onsemi.com
17
NCN6804
SPI Port
The product communicates to the external micro controller by means of a serial link using a Synchronous Port Interface protocol, the CLK_SPI being Low or High during the idle state. The NCN6804 is not intended to operate as a Master controller, but executes commands coming from the MPU. The CLK_SPI, CS and MOSI signals are under the microcontroller's responsibility. The MISO signal is
CS SPI_CLK MPU Asserts Chip Select MPU Enables Clock MPU Sends Bit MOSI RST_COUNTER NCN6001 Sends Bit from READ_REG MISO MPU Reads Bit
generated by the NCN6804, using the CLK_SPI and CS lines to synchronize the bits carried out by the data byte. The basic timings are given in Figure 11 and 12. The system runs with two internal registers associated with MOSI and MISO data: WRT_REG is a write only register dedicated to the MOSI data. READ_REG is a read only register dedicated to the MISO data.
NCN6804 Reads Bit
tclr
Figure 11. Basic SPI Timings and Protocol
When the CS line is High, no data can be written or read on the SPI port. The two data lines become active when CS = Low, the internal shift register is cleared and the communication is synchronized by the negative going edge of the CS signal. THe data presents on the MOSI line are considered valid on the negative going edge of the CLK_SPI clock and is transferred to the shift register on the next positive edge of the same CLK_SPI clock.
CS MPU Asserts Chip Set B7 SPI_CLK MPU Enables Clock CHIP ADDRESS MSB B6 B5 B4
To accommodate the simultaneous MISO transmit, an internal logic identifies the chip address on the fly (reading and decoding the three first bits) and validate the right data present on the line. Consequently, the data format is MSB first to read the first three signal as bits b5, b6 and b7. The chip address is decoded from this logic value and validates the chip according to the S1 pin conditions: see Figure 12.
B3
B2
B1
B0
COMMAND AND CONTROL LSB
MOSI ADDRESS DECODE MISO
The Chip Address is decoded on the third clock pulse. MISO Line = High Impedance The MISO signal is activated and data transferred
Figure 12. Chip Address Decoding Protocol and MISO Sequence
When the bit transfer is completed, the content of the internal shift register is latched on the positive going edge of the CS signal and the NCN6804 related functions are updated accordingly.
http://onsemi.com
18
NCN6804
Select Chip from SYNCHRONOUS Bank Chip Nx CS SPI_CLK MPU Enables B7 Clock B6 B5 B4 B3 B2 B1 B0 B7 B6 B5 B4 B3 B2 B1 B0 tdclk Chip Ny
CHIP ADDRESS MOSI SET_RST SET_CLK SET_VCC ADDRESS DECODE MISO Special Mode MISO Normal Mode MSB
COMMAND AND CONTROL LSB MSB LSB
MISO Line = High Impedance MISO Line = High Impedance Special Mode: MISO is synchronized with the SPI_CLK Positive going slope
Normal Mode: MISO is synchronized with the SPI_CLK Negative going slope
Figure 13. Basic Multi Command SPI Bytes
Since the 2 dual circuits present in the Asynchronous Bank have an individual physical address, the system can control 2 of these chips by sending the data content within the same CS frame as depicted in Figure 13. The bits are decoded on the fly and the related sub blocks are updated accordingly. According to the SPI general specification, no code or activity will be transferred to any chip when the CS is High. When 2 SPI dual bytes are sequentially transferred on the MOSI line, the CLK_SPI sequence must be separated by at least one half positive period of this clock (see tdclk parameter). The oscillograms given Figures 14 and 15 illustrate the SPI communication protocol.
Figure 14. Programming Sequence
Special mode
Standard mode
Figure 15. MISO Read Out Sequences
http://onsemi.com
19
NCN6804
DC/DC Operation
The power conversion is based on a full bridge structure able to handle either step up or step down power supply (see
VCC 6 10 mF C1 GND CMD_1.8V CMD_3.0V CMD_5.0V CMD_STOP MIXED LOGIC/ANALOG BLOCK G_Q1 Q3 G_Q3 10 Q5 Q1
Figure 16). The operation is fully automatic and, beside the output voltage programming, does not need any further adjustment.
CRD_VCC 13 Q7 Q2 L1 22 mH Q6 Q4 GND 12 GND C2 10 mF
G_HIZ G_Q4 G_Q2 G_Q7
11
PWR_GND GND
Figure 16. Basic DC/DC Converter
In order to achieve the 250 ms maximum time to discharge CRD_VCCA or B to 400 mV called by the EMV specifications, an active pull down NMOS is provided to discharge the external CRD_VCCA/B reservoir capacitor. This timing is guaranteed for a 10 mF maximum load reservoir capacitor value (see Figure 4). The system operates with a two cycle concept (all comments are referenced to Figures 16 and 17): 1. Cycle 1 Q1 and Q4 are switched ON and the inductor L1 is charged by the energy supplied by the external battery. During this phase, the pair Q2/Q3 and the pair Q5/Q6 are switched OFF. The current flowing the two MOSFET Q1 and Q4 is internally monitored and will be switched OFF when the Ipeak value (depending upon the programmed output voltage value) is reached. At this point, Cycle 1 is completed and Cycle 2 takes place. The ON time is a function of the battery voltage and the value of the inductor network (L
and Zr) connected across pins 10/11. A 4 _s timeout structure ensures the system does run in a continuous Cycle 1 loop. 2. Cycle 2 Q2 and Q3 are switched ON and the energy stored into the inductor L1 is dumped into the external load through Q2. During this phase, the pair Q1/Q4 and the pair Q5/Q6 are switched OFF. The current flow period is constant (900 ns typical) and Cycle 1 repeats after this time if the CRD_VCC voltage is below the specified value. When the output voltage reaches the specified value (1.8 V, 3.0 V or 5.0 V), Q2 and Q3 are switched OFF immediately to avoid over voltage on the output load. In the meantime, the two extra NMOS Q5 and Q6 are switched ON to fully discharge any current stored into the inductor, avoiding ringing and voltage spikes over the system. Figure 17 illustrates the theoretical waveforms present in the DC/DC converter.
http://onsemi.com
20
NCN6804
Charge CRD_VCC ton toff CRD_VCC Charged (Time is Not to Scale) Next CRD_VCC Charge
Q1/Q4 Q2/Q3 Q5/Q6 Ipeak IL CRD_VCC Voltage Regulated Vripple
CRD_VCC
Figure 17. Theoretical DC/DC Operating Waveforms
When the CRD_VCC is programmed to zero volt, or when the card is extracted from the socket, the active pull down Q7 rapidly discharges the output reservoir capacitor, making sure the output voltage is below 0.4 V when the card slides across the ISO contacts. Based on the experiments carried out during the NCN6804 characterization, the best comprise, at time of printing this document, is to use two 4.7 mF/10 V/ ceramic/X7R capacitors in parallel to achieve the CRD_VCC filtering. The ESR will not extend 50 mW over the temperature range and the combination of standard parts provides an acceptable -20% to +20% tolerance, together with a low cost. Obviously, the capacitor must be SMD type to achieve the extremely low ESR and ESL necessary for this application. Figure 18 illustrates the CRD_VCC ripple observed in the NCN6804 demoboard depending upon the type of capacitor used to filter the output voltage.
During the operation, the inductor is subject to high peak current as depicted Figure 19 and the magnetic core must sustain this level of current without damage. In particular, the ferrite material shall not be saturated to avoid uncontrolled current spike during the charge up cycle. Moreover, since the DC/DC efficiency depends upon the losses developed into the active and passive components, selecting a low ESR inductor is preferred to reduce these losses to a minimum.
Figure 19. Typical Inductor Current
Figure 18. Typical CRD_VCC Ripple Voltage (5 V, 3 V and 1.8 V) - cms Capacitor COUT = 10 mF, 1210, X7R, 16 V
According to the ISO7816-3 and EMV specifications, it is recommended the interface limits the CRD_VCC output current to 200 mA maximum, under short circuit conditions. The NCN6804 supports such a parameter, the limit being depending upon the input and output voltages as depicted Figure 20.
http://onsemi.com
21
NCN6804
6 5 4 3 2 1 0 0 50 100 ICRD_VCC (mA) 150 200 1.8 V 3.0 V 1.2E+7 10 mF, X7R, 1210, 16 V 5.0 V CAPACITANCE (pF) 1E+7 10 mF, X5R, 1206, 16 V 8E+6
CRD_VCC (V)
6E+6
10 mF, X7R, 0805, 10 V
4E+6 10 mF, Y5V, 0805, 16 V 2E+6 0 1.25 2.5 3.75 DC BIAS VOLTAGE (V) 5 6.25
Figure 20. Output Current Limit: Output voltage CRD_VCC (1.8 V, 3.0 V, 5.0 V)
Figure 21. Variation of the Capacitance Value of Different CMS Capacitors with the DC Voltage Applied Across its Terminals Smart Card Clock Divider
On the other hand, the circuit is designed to make sure no over current exist over the full temperature range. As a matter of fact, the output current limit is reduced when the temperature increases.
DC-T O-DC Converter External PASSIF Component Selection
To be functional the NCN6804's DC-to-DC converters need external passive components carefully selected. The performance and specification compliance of the NCN6804 are guaranteed by the DC/DC converter input capacitor, by the inductor and the reservoir capacitor characteristics. The input capacitor enables the decoupling and filtering of the input power supply voltage (VBAT) and its value has to be high enough to guarantee a good operating stability of the converter. A CMS very low ESR capacitor shall be preferably used with a minimum value of 4.7 mF recommended, 10 mF will be preferred - this will strongly depend on how the capacitance value varies with the DC voltage applied across the capacitor terminals (see Figure 21). The inductor shall be sized to handle the 500 mA peak current (Min. Isat) flowing during the DC/DC operation and will have to offer a low parasitic series resistor in order to maintain a good efficiency (Ex: Coilcraft, 1008PS-223KLC). The reservoir output capacitor shall be also ceramic surface mount capacitor with very low ESR (lower than 50 mW) and good temperature characteristics (X7R type). 10 mF is the recommended capacitance value under 5 V, 3 V and 1.8 V to get the better operating performance with a low CRD_VCC ripple level. The CMS capacitor shall be selected accordingly that is with a capacitance value of 10 mF covering the range 1.8 V - 5 V (see Figure 21). This value constitutes a good compromise for a good CRD_VCC ripple and CRD_VCC turn-on and turn-of f times.
The main purpose of the built in clock generator is three folds: 1. Adapts the voltage level shifter to cope with the different voltages that might exist between the MPU and the Smart Card 2. Provides a frequency division to adapt the Smart Card operating frequency from the external clock source. 3. Controls the clock state according to the smart card specification. In addition, the NCN6804 adjusts the signal coming from the mC to get the Duty Cycle window as defined by the ISO7816-3 specification. The byte content of the SPI port b2 and b3 fulfills the programming functions when CS is Low as depicted Figures 22 and 23. The clock input stage (CLOCK_IN) can handle a 40 MHz frequency maximum signal, the divider being capable to provide a 1:4 ratio. Of course, the ratio must be defined by the engineer to cope with the Smart Card considered in a given application and, in any case, the output clock [CRD_CLKA/B] shall be limited to 20 MHz maximum. In order to minimize the dI/dt and dV/dV developed in the CRD_CLKA/B line, the output stage includes a special function to adapt the slope of the clock signal for different applications. This function is programmed by the MOSI register (see Table 2) whatever be the clock division.
http://onsemi.com
22
NCN6804
CLOCK_IN CLOCK : 1 CLOCK : 2 CLOCK : 4 B2 B3 Clock is updated upon CLOCK: 4 rising edge CRD_CLK CLOCK programming is activated by the B2 + B3 logic state These bits program CLOCK = 1:1 ratio Internal CLOCK Divider
In order to avoid any duty cycle out of the smart card ISO7816-3 specification, the divider is synchronized by the last flip flop, thus yielding a constant 50% duty cycle, whatever be the divider ratio (see Figure 22). Consequently, the output CRD_CLKA/B frequency division can be delayed by four CLOCK_IN pulses and the micro controller software must take this delay into account prior to launch a new data transaction. On the other hand, the output signal Duty Cycle cannot be guaranteed 50% if the division ratio is 1 and if the input Duty Cycle signal is not within the 46% - 56% range. The input signals CLK_IN and MOSI/b3 are automatically routed to the level shifter and control block according to the mode of operation.
Figure 22. Typical Clock Divider Synchronization
VCC CLK_IN U1 DIGITAL_MUX B2 B3 Programming CRD_CLK Division SYNC A ASYNC B OUT SEL LEVEL SHIFTER AND CONTROL CRD_CLK CRD_VCC
SYNC
B0 B1
Programming CRD_CLK Slope NOTE: Bits [B0...B3] come from SPI data
Figure 23. Basic Clock Divider and Level Shifter
The input clock can be divided by 1/1, 1/2, or 1/4,, depending upon the specific application, prior to be applied to the smart card driver. On the other hand, the positive and negative going slopes of the output clock (CRD_CLKA/B) can be programmed to optimize the operation of the chip: see
Table 9. Output Clock Rise and Fall Time Selection
B0 0 0 1 1 B1 0 1 0 1 CRD_CLK Division Ratio 1 1/2 1/4
Table 2. The slope of the output clock can be programmed on the fly, independently of either the CRD_VCCA/B voltage or the operating frequency, but cares must be observed as the CRD_RSTA/B will reflect the logic state present at MOSI / b4 register.
CRD_CLK SLO_SLP Output Clock = Low 10 ns (typ.) 10 ns (typ.) 10 ns (typ.)
CRD_CLK FST_SLP Output Clock = Low 2 ns (typ.) 2 ns (typ.) 2 ns (typ.)
http://onsemi.com
23
NCN6804
Input Schmitt Triggers
All the Logic Input pins have built in Schmitt trigger circuits to protect the NCN6804 against uncontrolled operation. The typical dynamic characteristics of the related pins are depicted Figure 24.
OUTPUT
Battery Voltage: Both the Over and Undervoltage are detected by the NCN6804, the READ_REG register being updated accordingly. The external MPU can read the register through the MISO pin to take whatever is appropriate to cope with the situation.
ESD Protection
VBAT
ON
OFF INPUT 0.3 VBAT 0.7 VBAT VBA T
Figure 24. Typical Schmitt Trigger Characteristic
The NCN6804 dual smart card interface features an HBM ESD voltage protection (JEDEC standard) in excess of 8 kV for all the CRD pins (CRD_IOA/B, CRD_CLKA/B, CRD_RSTA/B, CRD_VCCA/B and GND). CRD_DETA/B have a protection of 4 kV HBM. All the other pins (microcontroller side) sustain at least 2 kV. These values are guaranteed for the device in its full integrity without considering the external capacitors added to the circuit for a proper operating. Consequently in the operating conditions it is able to sustain much more than 8 kV on its CRD pins making it perfectly protected against electrostatic discharge well over the HBM ESD voltages required by the ISO7816 standard.
Printed Circuit Board Layout
Security Features
In order to protect both the interface and the external smart card, the NCN6804 provides security features to prevent irreversible failures as described here after. Pin Current Limitation: In the case of a short circuit to ground, the current forced by the device is limited to 15 mA for any pins, except CRD_CLK A/B pin which is limited to 70 mA. No feedback is provided to the external MPU. DC/DC Operation: The internal circuit continuously senses the CRD_VCCA/B voltage; in the case of either over or undervoltage situation it updates the READ_REG register accordingly and forces the INT Pin to Low. This register can be readout by the MPU.
Careful layout routing will be applied to achieve a good and efficient operating of the device in its application environment and to fully exploit its performance. The bypass capacitors have to be connected as close as possible to the device pins (CRD_VCCA/B, VDD or VDDPA/B) in order to reduce as much as possible parasitic behaviors (ripple and noise). It is recommended to use ceramic capacitors (very low ESR). The exposed pad of the QFN-32 package will be connected to the ground. A relatively large ground plane is recommended. Figure 25 shows a example of PCB device implementation and component routing.
CRD_VCCA Reservoir Capacitor 10 mF, 1210, X7R, 16 V
LA 22 mH
VDDPA/B Decoupling Capacitor 10 mF
VDD Decoupling Capacitor 100 nF
LB 22 mH
Figure 25. Example of PCB Device Implementation
http://onsemi.com
24
NCN6804
PACKAGE DIMENSIONS
QFN32, 5x5, 0.5P MN SUFFIX CASE 488AM-01 ISSUE O
D A B
NOTES: 1. DIMENSIONS AND TOLERANCING PER ASME Y14.5M, 1994. 2. CONTROLLING DIMENSION: MILLIMETERS. 3. DIMENSION b APPLIES TO PLATED TERMINAL AND IS MEASURED BETWEEN 0.25 AND 0.30 MM TERMINAL 4. COPLANARITY APPLIES TO THE EXPOSED PAD AS WELL AS THE TERMINALS. MILLIMETERS MIN NOM MAX 0.800 0.900 1.000 0.000 0.025 0.050 0.200 REF 0.180 0.250 0.300 5.00 BSC 2.950 3.100 3.250 5.00 BSC 2.950 3.100 3.250 0.500 BSC 0.200 ----0.300 0.400 0.500
2X 2X
0.15 C 0.15 C 0.10 C
32 X
0.08 C
L
32 X 9 8
32 X b 0.10 C A B
0.05 C BOTTOM VIEW
ON Semiconductor and are registered trademarks of Semiconductor Components Industries, LLC (SCILLC). SCILLC reserves the right to make changes without further notice to any products herein. SCILLC makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does SCILLC assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation special, consequential or incidental damages. "Typical" parameters which may be provided in SCILLC data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including "Typicals" must be validated for each customer application by customer's technical experts. SCILLC does not convey any license under its patent rights nor the rights of others. SCILLC products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the SCILLC product could create a situation where personal injury or death may occur. Should Buyer purchase or use SCILLC products for any such unintended or unauthorized application, Buyer shall indemnify and hold SCILLC and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that SCILLC was negligent regarding the design or manufacture of the part. SCILLC is an Equal Opportunity/Affirmative Action Employer. This literature is subject to all applicable copyright laws and is not for resale in any manner.
PUBLICATION ORDERING INFORMATION
LITERATURE FULFILLMENT: Literature Distribution Center for ON Semiconductor P.O. Box 5163, Denver, Colorado 80217 USA Phone: 303-675-2175 or 800-344-3860 Toll Free USA/Canada Fax: 303-675-2176 or 800-344-3867 Toll Free USA/Canada Email: orderlit@onsemi.com N. American Technical Support: 800-282-9855 Toll Free USA/Canada Europe, Middle East and Africa Technical Support: Phone: 421 33 790 2910 Japan Customer Focus Center Phone: 81-3-5773-3850 ON Semiconductor Website: www.onsemi.com Order Literature: http://www.onsemi.com/orderlit For additional information, please contact your local Sales Representative
EE EE
TOP VIEW SIDE VIEW D2
16 17 1 32 25
PIN ONE LOCATION
E
(A3) A A1 C
EXPOSED PAD SEATING PLANE
DIM A A1 A3 b D D2 E E2 e K L
SOLDERING FOOTPRINT*
5.30 3.20
32 X
K
32 X
0.63 E2
24
3.20
5.30
e
32 X
0.28
28 X
0.50 PITCH *For additional information on our Pb-Free strategy and soldering details, please download the ON Semiconductor Soldering and Mounting Techniques Reference Manual, SOLDERRM/D.
http://onsemi.com
25
NCN6804/D


▲Up To Search▲   

 
Price & Availability of NCN6804MNR2G

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X